package assignment3;

import java.util.GregorianCalendar;

public class Main {

	public static void main(String[] args) {
		//Assignment.createTables();
		//Assignment.fillMediaItems();
		//System.out.println(Assignment.isExistUsername("7"));
		//GregorianCalendar cal = new GregorianCalendar(1992, 7, 28);
		//GregorianCalendar cal2 = new GregorianCalendar(2014, 1, 2);
		//System.out.println(Assignment.insertUser("shkasta1", "1234", "micheal", "shkasta", cal.getTimeInMillis()+"", cal2.getTimeInMillis()+""));
		//System.out.println(Assignment.getTopNItems(4));
		//System.out.println(Assignment.validateUser("idanmorad", "1403"));
		//Assignment.insertToHistory("idanmora", "The Dark Knight");
		//Assignment.insertToHistory("idanmora", "Raiders of the Lost Ark");
		//Assignment.insertToHistory("adipola", "Raiders of the Lost Ark");
		//System.out.println(Assignment.getHistoryByItem("Raiders of the Lost Ark"));
		//System.out.println(Assignment.getHistoryByUser("idanmora"));
		//System.out.println(Assignment.getNumberOfRegistredUsers(3));
		//System.out.println(Assignment.getUsers());
		//System.out.println(Assignment.getUsersByItemHistory("Raiders of the Lost Ark"));
		System.out.println(Assignment.getItemsSimilarity("Raiders of the Lost Ark","The Dark Knight"));
	}

}
